{extend name="base" /}

{block name="title"}个人资料{/block}

{block name="main"}
<div class="main">
	<div class="ljdh_box">
		<div class="container ljBar">
			<ul class="breadcrumb">
				<li>
					<a href="/">萌宝联盟</a>
				</li>
				<li>
					<a href="user_info">个人中心</a>
				</li>
				<li class="active">个人资料</li>
			</ul>
		</div>
	</div>

	<div class="container">
		<div class="gg_box clearfix">
			<div class="left_nav">
				<dl>
					<dt class="gruop_title hidden-xs">个人中心</dt>
					<dd class="active">
						<a href="/user_info">个人资料</a>
					</dd>
					<dd>
						<a href="/user_info/change_password">密码安全</a>
					</dd>
					<dd>
						<a href="/user_info/link">推荐链接</a>
					</dd>
				</dl>
			</div>
			<div class="right_contai">
				<dl>
					<dt class="gruop_title text-right hidden-xs"></dt>
					<dd class="right_mian">
						<div class="ly_box">
							<form class="form-horizontal" method="post">
								<div class="form-group">
									<label class="col-sm-2 control-label">推荐人用户</label>
									<div class="col-sm-4">
										<input type="text" class="form-control" value="{$user.promotion_name}" readonly/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">用户名</label>
									<div class="col-sm-4">
										<input type="text" class="form-control" value="{$user.username}" readonly/>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-2 control-label">真实姓名</label>
									<div class="col-sm-4">
										<input type="text" class="form-control" name="realname" value="{$user.realname}" placeholder="请输入真实姓名">
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-2 control-label">性别</label>
									<div class="col-sm-4">
										<label class="radio-inline"><input type="radio" name="sex" value="1" {eq name="user.sex" value="1"}checked{/eq}>男</label>
										<label class="radio-inline"><input type="radio" name="sex" value="0" {eq name="user.sex" value="0"}checked{/eq}>女</label>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-2 control-label">手机号</label>
									<div class="col-sm-4">
										<input type="text" class="form-control" name="phone" value="{$user.phone}" placeholder="请输入手机号">
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-2 control-label">云付通账号</label>
									<div class="col-sm-4">
										<input type="text" class="form-control" value="{$user.bank_code}" readonly>
									</div>
								</div>

								<div class="form-group">
									<div class="col-sm-offset-2 col-sm-4">
										<button class="btn_zdy">修改资料</button>
									</div>
								</div>
							</form>
						</div>
					</dd>
				</dl>
			</div>
		</div>
	</div>
</div>
{/block}